package cn.bytengine.stem.cluster.udp;

public class ClusterUdpProps {
    private String multicastGroup;
    private int listenPort;

    public String getMulticastGroup() {
        return multicastGroup;
    }

    public ClusterUdpProps setMulticastGroup(String multicastGroup) {
        this.multicastGroup = multicastGroup;
        return this;
    }

    public int getListenPort() {
        return listenPort;
    }

    public ClusterUdpProps setListenPort(int listenPort) {
        this.listenPort = listenPort;
        return this;
    }

    @Override
    public String toString() {
        return "ClusterUdpProps{" +
                "multicastGroup='" + multicastGroup + '\'' +
                ", listenPort=" + listenPort +
                '}';
    }
}
